package com.junyidao.game.util;

import java.util.Date;

/**
 * Created by zzh on 2016/9/26.
 * 文件描述 ：订单号生成器
 */
public class PayOrderNogGenerator {

    public static String generate(Integer uid, Integer payType) {
        String smallKey = DateUtil.format(new Date(), "yyyyMMddHHmmss");
        String seqStr = StringUtil.addPrefix(uid, 8, '0');
        return smallKey + payType + seqStr;
    }
}
